#include <STC89C5xRC.H>
#include "lcd1602.h"
#include "delay.h"


void main()
{
	lcd_init();
	lcd_showchar(1,1,'A');
	lcd_showstring(1,3,"hello");
	lcd_shownum(1,9,66,2);
	lcd_showsignednum(1,12,-88,2);
	lcd_showhexnum(2,1,0xA5,2);
	lcd_showbinnum(2,4,0xA5,8);
	lcd_showchar(2,13,0xDF);
	lcd_showchar(2,14,'C');
	lcd_showstring(1,16,"I love MySelf");
	//lcd_showchar(2,15,0xfe);
	while(1)
	{
		lcd_writecommand(0x18);
		Delayms(1000);
	}

}